package com.preskool.mapper;

import com.preskool.po.Salary;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SalaryMapper{
    int deleteByPrimaryKey(Integer salid);

    int insert(Salary record);

    int insertSelective(Salary record);

    Salary selectByPrimaryKey(Integer salid);   //原来的数据

    //自己加的数据,查询全部数据进行分页
    List<Salary> selectAllPaging(Integer currentPage, Integer pageSize);

    int updateByPrimaryKeySelective(Salary record);

    int updateByPrimaryKey(Salary record);
}